import os

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# 用户自定义配置文件
DEBUG = True

# 日志输出模式
LOG_CONSOLE = 'DEBUG'
LOG_FILE = 'WARNING'

# 配置模式
MODE = "AGENT"  # SALT/SSH/AGENT
# 如果MODE = "SSH"
SSH_USER = "root"
SSH_PASSWORD = "zzw123"
SSH_KEY = "ssh_key_path"
SSH_PORT = 22


# 配置主机名文件夹路径
HOST_FILE = os.path.join(BASE_DIR, 'hostname', 'host_name.txt')
